Home

Getting Started

*Defaults

  All Gadget have a default setting. Setting default colors,sizes and positions for gadget Can save time when creating new gadgets. For example, A if the defaut color for a Window is set to blue all Windows will be set with the color blue when created. Defaults are not part of the api language because it is much quicker to edit each type indevidually. The #include. File named "Default can be edited manually."

  GetWindowBgImage(ID)   Returns Background ID or -1.

  GetWindowHeight(ID)   Returns Height.

  GetWindowWidth(ID)   Returns Width.

  SetWindowBgColor(ID,Color)   `Accepts color from makecolor(),Sets Background color of sprite, Accepts Alpha value.

  SetWindowBGImage(ID,ImageID)   `Accepts Integer, Sets Background image.

  SetWindowBorderWidth(ID,Width)   `Accepts Integer, Sets Border Width.

  SetWindowDragAndDrop(ID,Bool)   ` Accepts Integer 1-0, 1 enalbes Window to be dropped onto other gadgets, 0 false.

  SetWindowHoverState(ID)   Returns 1 if Window is being hovered, else 0.

  SetWindowVisible(ID,Boolean)   `Sets Window visible or hidden 1 visible, 0 hidden.

  GetWindowText(ID)   Returns Text String or -1

  SetWindowDepth(ID,Depth)   Accepts Integer, Forces Window to add or subtract depth to its depth sorting.

  SetWindowHeight(ID,Height)   `Accepts integer sets the height.

  SetWindowWidth(ID,Width)   Accepts integer sets the width.

  SetWindowSize(ID,Width,Height)   Accepts integer sets the width and height.

  SetWindowPaddingWidth(ID,Width)   `Accepts Integer, Sets Padding Width.

  SetWindowPaddingColor(ID,Color)   `Accepts color from makecolor(),Sets Padding color of sprite, Accepts Alpha value.

  SetWindowBorderColor(ID,Color)   `Accepts color from makecolor(),Sets Border color of sprite, Accepts Alpha value.

  SetWindowColor(ID,Integer)   `Accepts color from makecolor(), Sets entire sprite to specified color.

  SetWindowAlpha(ID,AlphaValue)   `Accepts integer 0-255, Sets entire Sprite to the specified alpha value

  SetWindowEditMode(ID,Bool)   `Accepts Integer 1-0, overides settings enables all api features,"Window action will be disabled while in edit mode"

  SetWindowToolTip(ID,String)   Accepts String, Sets Window to generate and destroy a tooltip preview on hover. Hover Must be enabled see SetWindowActivateHover(ID,Bool)

  SetWindowDrag(ID,Bool)   `Accepts integer 0-1,Enables Dragging

  SetWindowResize(ID,Bool)   `Accepts integer 0-1,Enables Resizing

 SetWindowActivateMode(ID,Bool)   `Accepts integer 0-1, (1) Enables Hover to activate, "0" Default Behavior

  SetWindowHighlight(ID,Bool)   `Accepts Integer 1-0, Enables Highlighting